<div class="page" data-page="organization" id="organization">
	<div class="page-header">
		<div class="col-12 row topMenu1" style="display: none;">
			<div class="col">
				<img style="margin-top:2px;margin-left:10px;margin-right:-30px;" alt="" src="../../../res/png/icon-computer.png">
			</div>
			<div class="col permission-control active" data-permission="">
				<a class="orgNav" href="javascript:void(0);">组织管理</a>
			</div>
			<div class="col permission-control" data-permission="">
				<a class="orgNav" href="javascript:void(0);">职位管理</a>
			</div>
			<div class="col permission-control" data-permission="">
				<a class="orgNav" href="javascript:void(0);">账号权限管理</a>
			</div>
		</div>
	</div>
	<input type="hidden" id="orgId" value="" />
	<!--<div class="main_right" id="main_right">-->
	<div class="column_show">
		<span class="column_title"><a id="annouce_manage">组织管理&nbsp;</a>

            <a id="deleteDepartment" class="yellow_solidbtn title_btn btnSpan">删除部门</a>

            <a id="editDepartment" class="yellow_solidbtn title_btn btnSpan">编辑部门</a>

            <a id="addEmployee" class="yellow_solidbtn title_btn btnSpan">新增人员</a>

            <a id="addDepartment" class="yellow_solidbtn title_btn btnSpan">新增部门</a>

            </span>
	</div>
	<div class="column_content">
		<!--树形菜单-->
		<div class="treeMenu fl">
			<!--<ul class="hasChildrenUlUnfold"></ul>-->
			<ul id="tree" class="ztree" style="width:260px;min-height: 100px; overflow:auto;"></ul>
		</div>
		<!--树形菜单-->
		<!--右侧内容部分-->
		<div class="contentBody fl">
			<div class="departmentInfo">
				<table id="departmentTable">
					<tr>
						<td colspan="10" style="text-align:center;width: 100%;" id="departmentName">一润供应链管理(上海)有限公司</td>
					</tr>
					<tr class="begin none">
						<td class="showLabel">部门编号：</td>
						<td class="showLabelValue" id="orgCode">DP001</td>
						<td class="showLabel">部门名称：</td>
						<td class="showLabelValue" id="name">设计部</td>
					</tr>
					<tr class="begin none">
						<td class="showLabel">负责人姓名：</td>
						<td class="showLabelValue" id="managerUserName">王金水</td>
						<td class="showLabel">电话：</td>
						<td class="showLabelValue" id="telephone">12345678</td>
					</tr>
					<tr class="begin none">
						<td class="showLabel">值班时间：</td>
						<td class="showLabelValue" id="onDutyHour">8:00-10:00</td>
						<td class="showLabel">传真：</td>
						<td class="showLabelValue" id="fax">1234567890</td>
					</tr>
				</table>
			</div>
			<div class="employeeLabel">
				<span id="departmentEmployee">部门成员</span>
				<div id="checkboxDiv">
					<input type="checkbox" name="subOrgs" id="subOrgs" value="1" />
					<label for="subOrgs">查询是否包含子部门</label>
				</div>
				<div id="search">
					<input type="text" name=="keyword" id="keyword" placeholder="输入员工姓名或账号查询">
					<img class="imgbutton" src="../../../res/images/icon/search.png" width="19px" height="18px" alt="搜索" />
				</div>
				<div class="clear"></div>
			</div>
			<div class="oraganization_table">
				<table border="1px" class="md_tb" style="margin-left:0px">
					<thead>
						<tr class="">
							<th>编号</th>
							<th>姓名</th>
							<th>性别</th>
							<th>联系电话</th>
							<th>环信账号</th>
							<th>账号</th>
							<th width="200px">操作</th>
						</tr>
					</thead>
					<tbody>
						<!--  <tr class="" >
                      <td class="pl10">001</td>
                      <td class="pl10">2015-03-23</td>
                      <td class="pl10">男</td>
                      <td class="pl10">哦吼吼</td>
                      <td class="pl10">供应商</td>
                      <td class="pl10">
                        <span class="details_link">详情&nbsp;</span><span class="bar">|</span><span class="delete_btn">&nbsp;删除</span></td>
                      </tr> -->
					</tbody>
				</table>
				<div id="pagenation" class="pagerCon">

				</div>
			</div>
		</div>
		<!--右侧内容部分-->
	</div>

	<!--</div>-->
	<div class="clear"></div>

	<!-- 主体end -->
	<!--新增部门信息弹出框-->
	<div class="dialog none" id="addDepartmentDialog" style="width:600px;">
		<div class="dialogTitle">新增部门</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent">
			<input type="hidden" name="managerUserId" id="addManagerUserIdHidden" value="" isNull="1" minLength="1" maxlength="200" description="未找到该负责人" codeName="负责人" />
			<table class="dialogTable">
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>部门编号：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" placeholder=" 请输入部门编号" name="orgCode" minLength="1" isNull="1" maxLength="32" codeName="部门编号" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>部门名称：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" placeholder=" 请输入部门名称" name="name" minLength="1" isNull="1" maxLength="32" codeName="部门名称" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel">值班时间：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" name="onDutyHour" placeholder=" 请输入值班时间" minLength="0" isNull="0" maxLength="200" codeName="值班时间" description="值班时间" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>级别：</td>
					<td class="dialogShowValue">
						<select name="level" id="addLevel">
							<option value="1">一级</option>
							<option value="2">二级</option>
							<option value="3">三级</option>
						</select>
					</td>
					<td class="dialogShowLabel"><span class="asterisk">*</span>负责人：</td>
					<td class="dialogShowValue">
						<input type="text" id="addManagerUserId" minLength="1" isNull="1" maxLength="32" codeName="负责人" />
						</select>
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>电话：</td>
					<td class="dialogShowValue">
						<input type="text" name="telephone" id="addTelephone" minLength="6" isNull="1" maxLength="11" codeName="电话" />
					</td>
					<td class="dialogShowLabel">传真：</td>
					<td class="dialogShowValue">
						<input type="text" name="fax" minLength="0" isNull="0" maxLength="32" codeName="传真" description="" />
					</td>
				</tr>
			</table>
		</div>
		<div class="footerBtn">
			<div class="dialogBtn dialogHandlerBtn">确定</div>
		</div>
	</div>
	<!--编辑部门信息弹出框-->
	<div class="dialog none" id="editDepartmentDialog" style="width:600px;">
		<div class="dialogTitle">编辑部门</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent">
			<input type="hidden" name="orgId" id="editOrgId" value="" />
			<input type="hidden" name="parentOrgId" id="editparentOrgIdHidden" value="" />
			
			
			<input type="hidden" name="editOrgManagerUserId" id="editOrgManagerUserId" value="" value="" isNull="1" minLength="1" maxlength="200" description="未找到该负责人" codeName="负责人" />
			<input type="hidden" name="managerUserId" id="editmanagerUserIdHidden" value="" value="" isNull="1" minLength="1" maxlength="200" description="未找到该负责人" codeName="负责人" />
			<table class="dialogTable">
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>部门编号：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" placeholder=" 请输入部门编号" id="editOrgCode" name="orgCode" minLength="1" isNull="1" maxLength="32" codeName="部门编号" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>部门名称：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" placeholder=" 请输入部门名称" id="editOrgName" name="name" minLength="1" isNull="1" maxLength="32" codeName="部门名称" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel">上级部门：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" id="editOrgParentId" minLength="0" isNull="1" maxLength="200" description="" codeName="上级名称" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel">值班时间：</td>
					<td class="dialogShowValue" colspan="3">
						<input type="text" name="onDutyHour" id="editOrgOnDutyHour" placeholder=" 请输入值班时间" minLength="0" isNull="0" maxLength="200" codeName="值班时间" description="值班时间" />
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel"><span class="asterisk">*</span>级别：</td>
					<td class="dialogShowValue">
						<select name="level" id="editOrgLevel">
							<option value="1">一级</option>
							<option value="2">二级</option>
							<option value="3">三级</option>
						</select>
					</td>
					<td class="dialogShowLabel"><span class="asterisk">*</span>负责人：</td>
					<td class="dialogShowValue">
						<select  id="editOrgManagerUser">
							
						</select>
					</td>
				</tr>
				<tr>
					<td class="dialogShowLabel">电话：</td>
					<td class="dialogShowValue">
						<input type="text" name="telephone" id="editOrgTelephone" minLength="0" isNull="0" maxLength="11" codeName="电话" />
					</td>
					<td class="dialogShowLabel">传真：</td>
					<td class="dialogShowValue">
						<input type="text" name="fax" id="editOrgFax" minLength="0" isNull="0" maxLength="32" description="" codeName="传真" />
					</td>
				</tr>
			</table>
		</div>
		<div class="footerBtn">
			<div class="dialogBtn dialogHandlerBtn">确定</div>
		</div>
	</div>
	<!--新增人员信息弹出框-->
	<div class="dialog none" id="addEmployeeDialog" style="width:600px;">
		<div class="dialogTitle">新增人员</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent">
			<label for="uploadImg" class="fl pt10 tc" id="uploadImgDiv">
				<input type="file" name="file" class="file" id="uploadImg" codeName="头像" />
				<br><span class="" style="visibility: hidden;">上传头像</span>
			</label>
			<table class="dialogTable mt10 fr tr" style="width:450px">
				<tr>
					<td><span class="asterisk">*</span>姓名：</td>
					<td>
						<input type="text" placeholder=" 请输入名称" name="name" minLength="1" maxLength="32" isNull="1" codeName="姓名" description="请输入名称" />
					</td>
					<td class="pl40 tc"><span class="asterisk">*</span>性别：</td>
					<td>
						<input type="radio" name="gender" value="1" id="gender1" checked="checked" />
						<label for="gender1">男</label>
						<input type="radio" name="gender" id="gender2" value="2" style="margin-left: 35px;" />
						<label for="gender2">女</label>
					</td>
				</tr>
				<tr>
					<td><span class="asterisk">*</span>工号：</td>
					<td>
						<input type="text" name="empCode" placeholder=" 请输入工号" minLength="1" maxLength="200" isNull="1" codeName="工号" description="请输入工号" />
					</td>
					<td class="pl40"><span class="asterisk">*</span>职务：</td>
					<td>
						<input type="text" name="positionName" placeholder=" 请输入职务" minLength="1" maxLength="32" isNull="1" codeName="职务" description="请输入职务" />
					</td>
				</tr>
				<tr>
					<td>手机：</td>
					<td>
						<input type="text" id="employeeMobile" name="mobile" placeholder=" 请输入手机" minLength="1" maxLength="11" isNull="0" description="请输入正确的手机！">
					</td>
					<td class="pl40"><span class="asterisk">*</span>邮箱：</td>
					<td>
						<input type="text" name="email" id="employeeEmail" placeholder=" 请输入邮箱" minLength="1" maxLength="32" isNull="0" description="请输入正确的邮箱！" />
					</td>
				</tr>
				<tr>
					<td><span class="asterisk">*</span>环信账号：</td>
					<td colspan="3">
						<input type="text" name="currentArea" placeholder="环信账号" minLength="1" maxLength="11" isNull="1" description="请输入员工所属区域" codeName="区域">
					</td>
				</tr>
			</table>
			<div class="fl pt10">
				<span class="tc" style="vertical-align: top;">简介：</span>
				<textarea name="description" id="description" style="width:493px;height:130px;" cols="10" rows="2" codeName="简介" maxLength="100"></textarea>
			</div>
		</div>
		<div class="clear"></div>
		<div class="footerBtn">
			<div class="dialogBtn dialogHandlerBtn">确定</div>
		</div>
	</div>
	<!--编辑人员信息弹出框-->
	<div class="dialog none" id="editEmployeeDialog" style="width:600px;">
		<div class="dialogTitle">编辑人员</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent">
			<label for="editUploadImg" class="fl pt10 tc" id="editUploadImgDiv">
				<input style="display: none;" type="file" name="file" class="file" id="editUploadImg" />
				<br><span class="" style="visibility: hidden;">上传头像</span>
			</label>
			<table class="dialogTable mt10 fr tr" style="width:450px">
				<tr>
					<td><span class="asterisk">*</span>姓名：</td>
					<td>
						<input codeName="姓名" type="text" placeholder="请输入名称" name="name" minLength="1" maxLength="32" isNull="1" id="editEmployeeName" description="请输入名称" />
					</td>
					<td class="pl40"><span class="asterisk">*</span>性别：</td>
					<td>
						<input type="radio" name="gender" value="1" id="gender1_edit" />
						<label for="gender1_edit">男</label>
						<input type="radio" name="gender" id="gender2_edit" value="2" style="margin-left: 35px;" />
						<label for="gender2_edit">女</label>
					</td>
				</tr>
				<tr>
					<td><span class="asterisk">*</span>账号：</td>
					<td>
						<input type="text" id="editEmployeeAccount" placeholder="请输入账号" readonly="readonly">
					</td>
					<td class="pl40"><span class="asterisk">*</span>工号：</td>
					<td>
						<input type="text" name="empCode" id="editEmployeeEmpCode" placeholder="请输入工号" codeName="工号" minLength="1" maxLength="200" isNull="1" description="请输入工号">
					</td>
				</tr>
				<tr>
					<td><span class="asterisk">*</span>部门名称：</td>
					<td>
						<input type="text" id="editEmployeeOrgName" readonly="readonly">
					</td>
					<td class="pl40"><span class="asterisk">*</span>职务：</td>
					<td>
						<input type="text" id="editEmployeePosition" placeholder="请输入职位" minLength="0" isNull="1" codeName="职务" maxLength="32" isNull="1" />
					</td>
				</tr>
				<tr>
					<td>手机：</td>
					<td>
						<input type="text" id="editEmployeeMobile" name="mobile" placeholder="请输入手机" minLength="1" maxLength="11" isNull="0" description="请输入正确的手机！">
					</td>
					<td class="pl40"><span class="asterisk">*</span>邮箱：</td>
					<td>
						<input codeName="邮箱" type="text" name="email" id="editEmployeeEmail" placeholder="请输入邮箱" minLength="1" maxLength="32" isNull="1" description="请输入正确的邮箱！" />
					</td>
				</tr>
				<tr>
					<td><span class="asterisk">*</span>环信账号：</td>
					<td colspan="3">
						<input type="text" id="currentArea" name="currentArea" placeholder="环信账号" minLength="1" maxLength="11" isNull="1" description="请输入员工所属区域" codeName="区域">
					</td>
				</tr>
				<!--  <tr>
              <td>其它部门：</td>
              <td colspan="3"><input type="text" id="positions" readonly="readonly" ></td>
            </tr>
            <tr>
              <td>职位：</td>
              <td><input type="text" id="editPositionName" name="positionName" placeholder=" 请输入职位" minLength="1" maxLength="200" isNull="0" ></td>
            </tr> -->
			</table>
			<div class="fl pt10">
				<span class="tc" style="vertical-align: top;">简介：</span>
				<textarea name="description" id="editEmployeeIntroduction" style="width:493px;height:130px;" cols="10" rows="2" maxLength="100"></textarea>
			</div>
		</div>
		<div class="clear"></div>
		<div class="footerBtn">
			<div class="dialogBtn dialogHandlerBtn edit">确定</div>
		</div>
	</div>
	<!--<script type="text/javascript" src="./../../../js/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="./../../../js/seajs/sea.js"></script>
	<script type="text/javascript" src="./../../../js/seajs/seajs-text.js"></script>
	<script type="text/javascript" src="./../../../js/seajs/seajs-css.js"></script>
	<script type="text/javascript" src="./../../../js/config.js"></script>
	<script type="text/javascript" src="./../../../js/ajaxfileupload.js"></script>
	<script type="text/javascript" src="./../../../js/juicer-min.js"></script>
	<script type="text/javascript" src="./../../../js/placeholder.js"></script>
	<script type="text/javascript" src="../../../js/zTree/jquery.ztree.all-3.5.js"></script>-->
	<!--<script type="text/javascript">
		seajs.use('./organization', function(organization) {
			organization.init();
		});
	</script>-->
</div>
</div>